package com.theo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 
 * </p>
 *
 * @author 方涛
 * @since 2021-02-02
 */
@Component
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MaskInfo对象", description="")
public class MaskInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "口罩编号")
    @TableId(value = "mask_id", type = IdType.AUTO)
    private Integer maskId;

    @ApiModelProperty(value = "口罩类别")
    private String maskType;

    @ApiModelProperty(value = "口罩名称")
    private String maskName;

    @ApiModelProperty(value = "口罩图片")
    private String maskImage;

    @ApiModelProperty(value = "物资类型")
    private Integer articleType;

    @ApiModelProperty(value = "适用场景")
    private String applicableScene;

    @ApiModelProperty(value = "口罩价格")
    private Float maskPrice;

    @ApiModelProperty(value = "口罩规格（只/袋）")
    private Integer specification;

    @ApiModelProperty(value = "有效期（月）")
    private Integer maskPeriod;

    @ApiModelProperty(value = "口罩产地")
    private String place;

}
